<template>
  <common-form/>
  <hr>
  <factory-form v-for="item in formList" :key="item.type" :type="item.type" :status="item.status"/>
</template>

<script>
import commonForm from '@/components/commonForm'
import factoryForm from '@/components/factoryForm'

export default {
  name: 'HomeView',
  components: { commonForm, factoryForm },
  data () {
    return {
      formList: [
        {
          type: 'login',
          status: 1
        },
        {
          type: 'email',
          status: 2
        },
        {
          type: 'password',
          status: 3
        }
      ]
    }
  }
}
</script>

<style scoped>

</style>
